<template>
  <div>
    <el-icon>
      <img :src="path" width="100%" alt="Vue logo" />
    </el-icon>
  </div>
</template>
<script setup lang="ts">
const props = defineProps({ iconName: String });
const path = `src/assets/${props.iconName}.svg`;
</script>
